﻿<%@ Page Language="C#" MasterPageFile="~/Design/MasterPage/MasterPage.master" AutoEventWireup="true"
    CodeFile="TeacherUpdForm.aspx.cs" Inherits="App_Master_TeacherUpdForm" Title="Untitled Page" %>

<%@ Register Assembly="ShpmCommon" Namespace="Shpm.System.Web.Control" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="table_border_line">
        <tr>
            <th colspan="3" align="left" style="text-align: left;">

                <script language="javascript">
                    (new TitleBar('SearchBar', '教师信息')).showBar();
                </script>

            </th>
        </tr>
        <tr>
            <td style="height: 21px">
            </td>
        </tr>
        <tr>
            <td style="width: 42px; text-align:right;">
                <span style="color: #ff7300">*</span></td>
            <td style="width: 66px">
                教师姓名</td>
            <td>
                <asp:TextBox ID="txtName" runat="server" Width="115px" MaxLength="100"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 42px">
            </td>
            <td style="width: 66px">
                教师性别</td>
            <td>
                <asp:DropDownList ID="drpSex" runat="server" DataTextField="Content" DataValueField="DictNo" Width="115px">
                </asp:DropDownList></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 42px">
            </td>
            <td style="width: 66px">
                教师学历</td>
            <td>
                <asp:TextBox ID="txtXueli" runat="server" Width="115px" MaxLength="100"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 42px">
            </td>
            <td style="width: 66px">
                备注</td>
            <td>
                <asp:TextBox ID="txtMemo" runat="server" Rows="5" TextMode="MultiLine" Width="397px" MaxLength="400"></asp:TextBox></td>
            <td>
            </td>
        </tr>
        <tr>
            <td style="width: 42px; height: 20px">
            </td>
            <td style="width: 66px; height: 20px">
            </td>
            <td style="height: 20px">
            </td>
            <td style="height: 20px">
            </td>
        </tr>
        <tr>
            <td style="width: 42px; height: 20px">
            </td>
            <td style="width: 66px; height: 20px">
            </td>
            <td style="height: 20px">
                <asp:Button ID="btnAdd" runat="server" CssClass="button" Text="登　记" Width="80px" OnClick="btnAdd_Click" />&nbsp;<asp:Button
                    ID="btnBlack" runat="server" CssClass="button" Text="返　回" Width="80px" OnClick="btnBlack_Click" /></td>
            <td style="height: 20px">
            </td>
        </tr>
    </table>
    <cc1:comvalidator id="ComValidator1" runat="server" visible="False" CheckItems-Capacity="4">
     <cc1:CheckRequiredAttribute Code="E0082" ControlToValidator="txtName">
            <cc1:ComAbsParamsAttribute Parameter="教师姓名" />
        </cc1:CheckRequiredAttribute>
        <cc1:CheckMaxCharLenAttribute CharLen="10" Code="E0321" ControlToValidator="txtName">
            <cc1:ComAbsParamsAttribute Parameter="教师姓名" />
            <cc1:ComAbsParamsAttribute Parameter="10" />
        </cc1:CheckMaxCharLenAttribute>
        <cc1:CheckMaxCharLenAttribute CharLen="20" Code="E0321" ControlToValidator="txtXueli">
            <cc1:ComAbsParamsAttribute Parameter="教师学历" />
            <cc1:ComAbsParamsAttribute Parameter="20" />
        </cc1:CheckMaxCharLenAttribute>
    </cc1:comvalidator>
</asp:Content>
